define(function (require, exports, module) {

  require("mixins/global.mixins.js");
  var mCard = require('andrew/card/index.js');
  var toastr = require("third/toastr/index.js");

  var api = require('service/api.js');

  var urlHelper = require("../src/tools/urlHelper.js");
  var param = urlHelper.getUrlParamsMap();

  var pageVue = new Vue({
    data: {
        tableList: [],
        bookId: 0
    },
    mounted: function () {
      this.bookId = param.bookId;
      this.getDataList();
    },
    methods: {
      getDataList: function () {
        var curPageVue = this;
        var query = {};
        query['bookId'] = curPageVue.bookId;
        api.getArtList({
          params: query,
          callBack: function (res) {
            curPageVue.tableList = res.list;
          }
        })
      }
    }
  }).$mount('#appInfo')
})
